package com.lyb.springbootredisclient.app.impl;

import com.lyb.springbootredisclient.app.BpxhAbstractApprovalService;
import com.lyb.springbootredisclient.entity.BpxhBizCommonRespDTO;
import com.lyb.springbootredisclient.entity.BpxhCommonCallbackDTO;
import org.springframework.stereotype.Service;

/**
 * @author: lyb  2024/3/26 16:30
 */
@Service
public class XiaoMiTow extends BpxhAbstractApprovalService {
    @Override
    public String approvalType() {
        return "XM";
    }

    @Override
    public BpxhBizCommonRespDTO approval(BpxhCommonCallbackDTO bpxhCommonCallbackDTO) {
        BpxhBizCommonRespDTO bpxhBizCommonRespDTO = new BpxhBizCommonRespDTO();
        bpxhBizCommonRespDTO.setMessage("小米逻辑处理类");
        bpxhBizCommonRespDTO.setSuccess(true);
        return bpxhBizCommonRespDTO;
    }
}
